<table class="lb_block" cellpadding="2" cellspacing="1">
	<tr>
		<td class="lb_block_title">{$title|default:$smarty.const.LANG_UNTITLED}</td>
	</tr>
	<tr>
		<td class="lb_block_body">
		<br />
{if isset($add_page_type)}
	{include file="$dir/page/type_$page_type/templates/add.tpl"}
{else}
		<center>
		{$smarty.const.LANG_CHOOSE_TYPE}: <br />
		
		<form action="{$webdir}index.php">
			<input type="hidden" name="action" value="add" />
			<input type="hidden" name="page" value="{$page}" />
			<select name="type">
				{foreach key=name item=item from=$page_types}
					<option value="{$name}">{$name} ({$item.desc})</option>
				{/foreach}
			</select>
			<input type="submit" name="submit" value="{$smarty.const.LANG_SUBMIT}" />
		</from>
		</center>	
{/if}
<br />
		</td>
	</tr>
</table>